package test;
import java.io.InputStream;
import java.net.URL;

public class bingfa
{
    public static void main(String[] args) throws Exception
    {
      long a = System.currentTimeMillis();
      System.out.println("Starting request url:");
      InputStream is = null;
        for(int i = 0; i < 3000; i++){//此处的值可以根据需求增加
          URL url = new URL("http://localhost:8080/debang/member/applicationMember.shtml");//此处填写供测试的url
          is = url.openStream();
          System.out.println("Starting request url:"+i);
        }
        System.out.println("request url end.take "+(System.currentTimeMillis()-a)+"ms");
        is.close();
    }
}